<!DOCTYPE html>
<html lang="en">

<head>
  @@include('./meta.html',{})
</head>

<body class="app-component">
  @@include('./header.html',{
  "components": "active"
  })
  <div class="component-wrapper">
    <div class="component-navleft">
      @@include('./navleft.html',{
      "tab_chart": "active"
      })
    </div><!-- component-navleft -->

    <div class="component-sidebar">
      @@include('./sidebar.html',{
      "tab_chart": "active",
      "chart_flot": "active",
      "urlPrefix": "."
      })
    </div><!-- component-sidebar -->

    <div class="component-content">
      <div class="component-content-header">
        <nav aria-label="breadcrumb">
          <ol class="breadcrumb breadcrumb-style1 mg-b-0">
            <li class="breadcrumb-item"><a href="#">Components</a></li>
            <li class="breadcrumb-item"><a href="#">Charts</a></li>
            <li class="breadcrumb-item active" aria-current="page">Flot</li>
          </ol>
        </nav>
        <a href="javascript:;" id="componentOptions" class="text-secondary mg-l-auto d-xl-none"><i data-feather="more-horizontal"></i></a>
      </div><!-- component-content-header -->

      <div class="component-content-body" data-spy="scroll" data-target="#navSection" data-offset="120">
        <div class="content content-components">
          <div class="container">
            <!--sd-->
            <h1 class="td-title">Flot Charts</h1>
            <p class="td-lead">Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks and interactive features. Read the <a href="http://www.flotcharts.org/" target="_blank">Official Flot Documentation</a> for a full list of instructions and other options.</p>

            <hr class="mg-y-40">

            <h4 id="section1" class="mg-b-10">Bar Chart</h4>
            <p class="mg-b-30">Flot supports bars and any combinations of these, in the same plot and even on the same data series.</p>

            <div data-label="Example" class="td-example">
              <div id="flotBar" class="ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section2" class="mg-b-10">Stacked Chart</h4>
            <p class="mg-b-30">With the stack plugin, you can have Flot stack the series. This is useful if you wish to display both a total and the constituents it is made of.</p>

            <div data-label="Example" class="td-example">
              <div id="flotStack" class="ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section3" class="mg-b-10">Line Chart</h4>
            <p class="mg-b-30">Flot supports lines and any combinations of these, in the same plot and even on the same data series.</p>

            <div data-label="Example" class="td-example">
              <div id="flotLine" class="ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section4" class="mg-b-10">Area Chart</h4>
            <p class="mg-b-30">Flot supports area and any combinations of these, in the same plot and even on the same data series.</p>

            <div data-label="Example" class="td-example">
              <div id="flotArea" class="ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section5" class="mg-b-10">Thresholds</h4>
            <p class="mg-b-30">With the threshold plugin, you can apply a specific color to the part of a data series below a threshold.</p>

            <div data-label="Example" class="td-example">
              <div id="flotThresholds" class="ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section6" class="mg-b-10">Percentiles</h4>
            <p class="mg-b-30">For each point of a filled curve, you can specify an arbitrary bottom. As this example illustrates, this can be useful for plotting percentiles.</p>

            <div data-label="Example" class="td-example">
              <div id="flotPercentiles" class="ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section7" class="mg-b-10">With Crosshair</h4>
            <p class="mg-b-30">You can add crosshairs that'll track the mouse position, either on both axes or as here on only one.</p>

            <div data-label="Example" class="td-example">
              <div id="flotCrosshair" class="ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section8" class="mg-b-10">Pie Chart</h4>
            <p class="mg-b-30">The default pie chart with no options set.</p>

            <div data-label="Example" class="td-example">
              <div id="flotPie" class="wd-lg-70p ht-200 ht-sm-300"></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section9" class="mg-b-10">Donut Chart</h4>
            <p class="mg-b-30">The default pie chart with a donut hole option added.</p>

            <div data-label="Example" class="td-example">
              <div id="flotDonut" class="wd-lg-70p ht-200 ht-sm-300"></div>
            </div><!-- td-example -->
            @@include('./footer.html',{})
            <!-- content-footer -->
          </div>
        </div>
      </div><!-- component-content-body -->

      <div class="component-content-sidebar section-nav">
        <label class="tx-10 tx-medium tx-spacing-1 tx-color-03 tx-uppercase tx-sans mg-b-15">On This Page</label>
        <nav id="navSection" class="nav flex-column">
          <a href="#section1" class="nav-link">Bar Chart</a>
          <a href="#section2" class="nav-link">Stacked Chart</a>
          <a href="#section3" class="nav-link">Line Chart</a>
          <a href="#section4" class="nav-link">Area Chart</a>
          <a href="#section5" class="nav-link">Thresholds</a>
          <a href="#section6" class="nav-link">Percentiles</a>
          <a href="#section7" class="nav-link">With Crosshair</a>
          <a href="#section8" class="nav-link">Pie Chart</a>
          <a href="#section9" class="nav-link">Donut Chart</a>
        </nav>
      </div><!-- component-content-sidebar -->
    </div><!-- component-content -->

  </div><!-- component-wrapper -->

  @@include('./_script.html',{})

  <script src="../lib/jquery.flot/jquery.flot.js"></script>
  <script src="../lib/jquery.flot/jquery.flot.pie.js"></script>
  <script src="../lib/jquery.flot/jquery.flot.stack.js"></script>
  <script src="../lib/jquery.flot/jquery.flot.resize.js"></script>
  <script src="../lib/jquery.flot/jquery.flot.threshold.js"></script>
  <script src="../lib/jquery.flot/jquery.flot.fillbetween.js"></script>
  <script src="../lib/jquery.flot/jquery.flot.crosshair.js"></script>

  <script src="../assets/js/chart.flot.sampledata.js"></script>
  <script src="../assets/js/chart.flot.js"></script>

  <script>
    $(function () {
      'use strict'
    });
  </script>
</body>

</html>